package cn.IT.service;

import java.io.Serializable;
import java.util.List;

import cn.IT.domain.Approve;
import cn.IT.domain.Topic;
import cn.IT.domain.User;

public interface IApproveService {

    public List<Approve> getAllUnapprovedByApprover(User user);
    
    public List<Approve> getAllApproveByUser(User user);
    
    public List<Approve> getAllApprovedByApprover(User user);
    
    public Approve getApprovedByTopic(Topic topic);
    
    public String addApprove(Approve approve);
    
    public String updateApprove(Approve approve,User user);

	public Approve getApproveById(Serializable approveId);
	
}
